package com.bajiao.service.system.impl;

import com.bajiao.entity.system.Announcement;
import com.bajiao.mapper.system.AnnouncementMapper;
import com.bajiao.service.system.IAnnouncementService;
import com.bajiao.vo.system.AnnouncementVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 系统通告表
 * @Author: FanJq
 * @Date:   2024-07-28
 * @Version: V1.0
 */
@Service
public class AnnouncementServiceImpl extends ServiceImpl<AnnouncementMapper, Announcement> implements IAnnouncementService {
    @Autowired
    private AnnouncementMapper announcementMapper;


    @Override
    public AnnouncementVO getByUserId(String userId, String id) {
        return announcementMapper.getByUserId(userId,id);
    }


}
